User Profile
Collapse
-
sure hope to see it very soon. :)... -
hey ! I'm following your coding splash and login works but "about" failed
and i've got hte same error like Yoda.
did anyone find a solution in "USer Define-Compile User Dfined-Type- Error" :)
DUNXALEARE...Leave a comment:
-
heyo i've searched your post about connectiong visual basic to ms access.
your forum with "Yoda". I guess you still remember him.
the splash and login is working but in "about" I'm Stucked.
i folow your coding there and i've got the same error Yoda was saying
" Compile Error -Undefined User-Defined Type not Defined"
I follow the whole discussion between you and yoda about it....Leave a comment:
-
-
Code:saves_click() Select Case act Case 2 Select Case cond Case 0 ansr = MsgBox("The employee you enter already exist. Would you like the record to display?", vbYesNo, Label) If ansr = vbYes Then act = 0 ans = txt_no(0).Text epis.Recordset.CancelUpdate educ.Recordset.CancelUpdate
Leave a comment:
-
As of now i try to connect and manipulate the data in ms access using vb 6. but i encountered some problems like run time error because i used directly an adodc components ( the only way i know to transfer or retrieve data in access) . I guess i need to focus on connecting visual basic to ms access using other method other than adodc components, before i proceed to ms excel, is that possible?
Im just a begginner so i know only basic ,but...Leave a comment:
-
Picutures in Visual Basic 6 to MS Access
How to add,save, delete, and search pictures in Ms Access using Visual Basic 6.0
and also trap the error if the soure of the picture is unavailable(lik e floppy or cd)?
kind regards ;) -
Visual Basic 6.0 to MS Access to MS Excel
Hello everyone!
I have a new assignment. I just dont know how to create a data report using ms excell.
I need to search particular group of data/records using Visual basic 6. in MS Access and transfered this selected data in MS Excel. to generate a report.
Please can anyone give me a tip or I'd rather say the syntax on how to edit,delete,add ,search data in ms access using visual basic 6 without using Adodc component.... -
OK I get it .
Code:Select Case act=2 . . .....Select Case cond=1 educ.recordset.movefirst family.recordset.movefirst epis.recordset.movefirst . . end select end select
all the fields connected to it dont save the data i entered,...Leave a comment:
-
i observed that 3 of the textboxes always lost the data it contained (one of them is connected to the primary field of my table in database), when the error occured....Leave a comment:
-
well I admit reading my code is like walking in a maze :)
im not just familiar in using select case.
thanks for editing it folks.
it stil dont work. i already delete some records(until all of them) in data base to see if there is limitation in saving. I still encountered the the error....Leave a comment:
-
no. i even try to delete some record(until all of them) in the database to see if there is a limitation in saving data. when i try again to execute the program, i still encountered the same error ( meaning i cant even save the new data even the database is empty) ;(Leave a comment:
-
SORRY FOLKS! I forgot to read the guidelines for proper posting of reply in a forum. ;(Leave a comment:
-
Code:Private Sub saves_Click() If act = 3 And cond = 1 Then MsgBox "The record's identification code has been modified. System failed to update.", vbCritical, label epis.Recordset.CancelUpdate: epis.Recordset.MoveFirst: educ.Recordset.MoveFirst: family.Recordset.MoveFirst End If If act = 2 And cond = 1 Then ans = MsgBox("Are you sure you want to save this
Leave a comment:
-
the part which were highlight when there is runtime error is one of the adodc I used (epis.recordset .movefirst).
i try to eliminate some datafields in the tables were that adodc is connected, because i thought, i used so many field in that particular table, but i failed. wahhhhh :(Leave a comment:
-
the continuation of my code
Code:Private Sub check() stng = ans Set rspos = New ADODB.Recordset rspos.Open "EPIpersonal", conn1, adOpenStatic, adLockOptimistic, CmdTable Set rs = New ADODB.Recordset SQL = "select employee_id_no from EPIpersonal " rs.Open SQL, conn1, adOpenStatic, _ adLockOptimistic, adcmdtxt Do While rs.EOF = False
Leave a comment:
-
code
the version im using is visual basic 6.0 and ms access as data base.i connect the adodc component to data base in costum properties the adodc
and directly connect the textboxes needed in database through adodc by setting the properties:data source and data field:
this is part of the code i write ( if the following condition is already met)
Code:Private Sub saves_Click() If act = 3 And cond = 0 Then GoTo
Last edited by Killer42; Mar 26 '07, 02:34 AM. Reason: Please use [CODE]...[/CODE] tags around your code.Leave a comment:
-
do you know any expert, who can answer my queastion?
wahhh my deadline of submission is coming. I think your the only up to now who had read my message...Leave a comment:
-
RUN TIME ERROR 2147217842(80040e4e)
please help me huhuhu
im writing a visual basic program and use ms access as data base.
i use adodc to add,save,edit,s earch or delete records on access. for me thats the easiest way.
my program runs smoothly for about 10 to 20 execution until i encountered this problem.
when i try to save a new record the computer prompt me "Operation Cancelled" runtime error 2147217842(8004 0e4e).
and i cannot longer... -
RUN TIME ERROR 2147217842(80040e4e)
please help me.
im wrting a program using visual basic 6.0 and using ms access as data base.
when it ry to execute the program. and try to save record in database using adodc the system prompt me :
"Operation Cancelled" runtime error 2147217842(8004 0e4e)
i dont understand it and im sure that my coding is correct because it actually works smoothly for about 6 to 10 exucution or more and just encounter this problem...
No activity results to display
Show More
Leave a comment: