Hi
I want to fetch data from FoxPro 3.0 table based on criteria such as where Name="Dinesh Dhiman" and show it in textbox placed on vB form.
I've connected VB and FoxPro 3.0 in following manner...
Is there anybody who can help me.vb Code:
'connect FoxPro str = "Driver={Microsoft FoxPro VFP Driver (*.dbf)};SourceDB=d:\FPINV;SourceType=DBF;Exclusive=No;" & _ "Persist Security Info=False;BackgroundFetch=Yes;Collate=Machine;" If cn1.State = adStateClosed Then connect_fox 'If rsex.State = adStateClosed Then rsex.Open "exchdtl", cn1, adOpenDynamic, adLockOptimistic, adCmdTable If rsex.State = adStateClosed Then rsex.Open "exchdtl", cn1, adOpenDynamic, adLockOptimistic, adCmdTable
Please let me know any other better way to connect and fetch data from FoxPro 3.0 tables.
I'm using VB6. Its very urgent.
Regards,
Dinesh




Reply With Quote