I have a DataGridView Control that looks like this
_________________
Name1 |Name2|
_________________
JOE |JOE |
_________________
SHAI |SHAI |
_________________
STEVE |STEVE|
_________________
STEVE |STEVE|
_________________
I have a button called "save"
What I want:
When...
Hi Everyone, Thanks ahead of time for the help.
My Code:
Private Sub btnExport_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnExport.Click
Dim Conn As New ADODB.Connection
Dim Rec As New ADODB.Recordset
Dim SQLqry As String
On...
Trying to use id3 code found on http://www.go4expert.com/forums/showthread.php?p=22064&posted=1#post22064
which worked fine, but I'm trying to step through each file in a directory and get the id3 info
Here's my code
<HTML>
<HEAD>
<TITLE>MP3 Playlist</TITLE>
</HEAD>
<BODY>
<?php...
thanks dhookom,
True MS shouldn't support it. But if the dat file is just a flat file it shouldn't be complicated to import it. What I don't understand is why I'm getting the #num error. I'll post some screen shots later.
I guess thats my main problem, the #num error. I can create the link...
Thanks JeremyNYC, I will try this when I get home. Seems like access should just easily be able to read the dat file. But it doesn't surprise that MS would make it complicated.
Do you know if I use your meathod, will the DB updated in real time? Or do you need to hit a "refresh button"...
Hi there,
I'm trying to connect to a dat file used by auction sentry (popular ebay bid snipping program). I need to have a linked table of some sort, that upon oppening the access database connects to that .dat file. I have the layout for that dat file as it is a fixed width file. The import...
this all seems way to complex, why not use iif(isnull([MyVar]),"",[MyVar]). I use this in all my reports to eleminate the blank fields. A concatenate would look like this:
iif(isnull([Title]),"",[Title]& " ") & iif(isnull([FirstName]),"",[FirstNamee] & " ") &...
You dont need to declare StringVerb its not used. You only need to declare variables your going to use. I was using it to test the code, so you can remove the stringverb=15 part. I would create and unbound control on the form with the controlsource=[HoursAndMinutes]([TimeOut]-[TimeIn]) and...
I use this code to hide my forms, but ive used it to change fonts on open forms so i think it'll work for you
Function ShowHideForms(View As Boolean)
Dim frmCurrent As Form
For Each frmCurrent In Forms
frmCurrent.Visible = View
Next
If View = False Then DoCmd.Maximize
End...
This error occurs in excel as well. when you .quit the word object your just closing the created instance of word. The problem is your not closing the word.exe process, so when you open word again it gets confused. Try this: run your function, then close the word.exe process from the task...
I think this will work, i havnt tried it, but here goes:
Private Sub txtQ28_KeyPress(KeyAscii As Integer)
call ASCITest(KeyAscii)
end sub
private function ASCITest(KeyPressed as Integer)
if keypressed=enter or keypressed=tab then
call cmdsave_click
end if
end function
i think that should...
Hope this helps,
DoCmd.SetWarnings False
Dim StringVerb As Long
StringVerb = "15"
DoCmd.RunSQL "INSERT INTO YOURTABLE( YOURFIELD) " & " SELECT " & YOURVARIABLE
DoCmd.SetWarnings True
YOURTABLE= the table to insert the record into
YOURFIELD= the field in the table to insert the data at...
maybe have it use the calendar check the for and based on the that use conditional formatting to change the font. Basically all days have an X but it blends in the back, but when hes sick the condition is true and the font is set to red. hope this helps
I read this topic and all the threads but havnt found an answer. I have one form thats set to pop-up but and auto-resize. But for some reson it wont. It opens as a datasheet with 2 coloms. For now theres only 10 records, but that may grow to 50 soon, i want the form to resize with the list...
I've read the two FAQs posted here and searched on the net for ideas. Basically, the two here didnt work, plus, why rely on VB scripting, and what if you dont have access to the startup folder. this is my solution. All done from within Access. The DB opens and compares its version to the...
I've searched the web for hours trying to figure out how to open, print, then close the excel file. This is all triggered by a button on the switchboard. Well, this code seems to do the trick. Only one problem, when i open another excel file manualy excell doesnt seem to repaint itself. I...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.