Solved

dBase IndexKey in VB with Accessfiles?

Posted on 1998-09-08
2
178 Views
Last Modified: 2010-05-18
I must use an indexkey like left(y,x) from a dBase indexfile. How works it on Access Files? I try to set: idx.createFields("left(y,x)"), but this can't work!
How can I use functions in access indexkeys???
0
Comment
Question by:lucyjimmy
2 Comments
 

Author Comment

by:lucyjimmy
ID: 1433591
Adjusted points to 150
0
 
LVL 9

Accepted Solution

by:
cymbolic earned 150 total points
ID: 1433592
This will not work in Access.  It ws a provision only in Dbase systems to place a function in a key expression, but not a real good idea for performance even there!  To simulate some of the same capability, I have had to reformat my .dbf files by breaking down larger fields that are really concatenated data, into unique shorter fields in the .dbf file.  Then you can run a normal index on the component pieces, or a multicolumn index as well in Access.

You just can't use an index that contains a function in Access. You have to find some way to work around it.
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
DIR issue 7 54
Excel object stays open 19 76
Put text in a picture ASP.NET C# 2 57
Macro Excel - Multiple If conditions 2 72
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question