Invalid operation after database split fe/be

deanvilar

Registered User.
Local time
Today, 14:15
Joined
Mar 27, 2013
Messages
63
am already set to publish my MDB but I want to have a FE and BE application so that even 2 - 3 users can access them ....

I tried to split it manually, but no avail... got an error RUN-TIME ERROR '3219'; INVALID OPERATION and highlighted my recordset ... (attached image)

do I need to connect manually by code my tables to have it working? if so, can you please...please show me how... thanks
 

Attachments

  • SPLIT MDB AS FRONTEND BACKEND.jpg
    SPLIT MDB AS FRONTEND BACKEND.jpg
    92.1 KB · Views: 178
Try
Code:
RST[COLOR=Red][B].Fields("[/B][COLOR=Blue]yourFieldName[/COLOR][B]")[/B][/COLOR]
 
still the same error sir Paul
 

Attachments

  • SPLIT MDB AS FRONTEND BACKEND.jpg
    SPLIT MDB AS FRONTEND BACKEND.jpg
    99.9 KB · Views: 135
Last edited:
Unfortunately. Yes. You can use any of the following valid methods to access the fields in the Recordset..
Code:
RST[B][COLOR=Red].Fields("[/COLOR][/B]yourFieldName[B][COLOR=Red]")[/COLOR][/B]
[COLOR=SeaGreen]' Or[/COLOR]
RST[COLOR=Red][B].Fields([/B][/COLOR]2[COLOR=Red][B])[/B][/COLOR][COLOR=SeaGreen] ' the Field Number.. This requires you to know the appropriate field in the recordset.[/COLOR]
[COLOR=SeaGreen]' Or[/COLOR]
RST[COLOR=Red][B]![/B][/COLOR]yourFieldName
 
Which line are you exactly getting the error?
 
With linked tables, replace dbOPenTable with dbOPenDynaset. Also, with DYnaSet, you cannot use .Seek but need to use .FindFirst. Look it up in the help file.

And as pr2-eugin asks: which line gives you error? You should always supply theat information - we are not mind readers.
 
Sir Paul am getting the error here:

Set RST = db.OpenRecordset("tblEmployees", dbOpenTable)
sir spikepl i'll try as well ... thank you
 
Last edited:
sir spikepl error: OPERATION IS NOT SUPPORTED FOR THIS TYPE OF OBJECT.


as spike just said, with linked tables, you cannot set an index and use the seek method

you have to use findfirst (and other find variations), which is a slightly different syntax
 
thank you for the reply @gemma, now am reading what sir paul gave me ... and too bad i think i need to adjust everything =(
 

Users who are viewing this thread

Back
Top Bottom