Forum: Visual Basic 4 / 5 / 6 Aug 15th, 2008 |
| Replies: 5 Views: 1,703 Thanks Veena. That worked too.
Have a wonderful weekend.
tgifgemini |
Forum: Visual Basic 4 / 5 / 6 Aug 13th, 2008 |
| Replies: 5 Views: 1,703 Problem resolution:
Even though I have MS Access 9.0 Object library in my References, I have to physically create and instatiate a new Access object inside my vb code.
Dim MsAxs As... |
Forum: Visual Basic 4 / 5 / 6 Aug 13th, 2008 |
| Replies: 5 Views: 1,703 Hi QVeena.
Is it a really a memory issue? No, I don't want the recordds to double each time I run the sql and populate the table.
Are you suggesting I delete the records in the table before... |
Forum: Visual Basic 4 / 5 / 6 Aug 11th, 2008 |
| Replies: 5 Views: 1,703 I am trying to display/open MS Access report and I get: RunTime error 2486 - You can't not carry out this action at the present time on this line of code: DoCmd.OpenReport stDocName, acViewNormal
... |
Forum: Visual Basic 4 / 5 / 6 Jul 15th, 2008 |
| Replies: 1 Views: 1,838 Please, I need someone to show me the correct synatx - code to FTP a file (in an Access table) to a server.
The access table contains the following information:
Open
10.8.44.34
Username... |
Forum: Visual Basic 4 / 5 / 6 Jan 29th, 2008 |
| Replies: 4 Views: 2,458 Okay, I'll do just that and give you guys a response. Creating another database and tables ain't no big thing, so it's not trouble at all.
Thanks.
tgif. |
Forum: Visual Basic 4 / 5 / 6 Jan 28th, 2008 |
| Replies: 4 Views: 2,458 Hi,
No output was produced with this code:
SELECT TblRequests.RequestID, TblPersonnel.Initials, TblRequests.Prog1Hrs, TblRequests.PrevProg1Hrs, TblRequests.TotalProg1Hrs, 1 AS Positions
FROM... |
Forum: Visual Basic 4 / 5 / 6 Jan 28th, 2008 |
| Replies: 4 Views: 2,458 Ladies and gentlemen,
I have an issue inserting records into my new table
Output table is: "TblProgrammersHours". In this table, RequestID and ProgrammerInitials are combined to form my Primary... |
Forum: Visual Basic 4 / 5 / 6 Jan 18th, 2008 |
| Replies: 0 Views: 1,638 Hi all
sorry for the inconveniences, I just wanna get this syntax thing out of my back.
I modified my vb module and now I'm getting "Run-Time error 3075 syntax error(Missing operator) - query... |
Forum: Visual Basic 4 / 5 / 6 Jan 18th, 2008 |
| Replies: 0 Views: 2,153 Hello members,
I am trying to execute the module below (SQL statement) and I am getting the above error: "Syntax error in FROM clause" on this line Call db.Execute(strSQL).
When I hovered the... |
Forum: Visual Basic 4 / 5 / 6 Jan 16th, 2008 |
| Replies: 8 Views: 7,117 Hi all,
I am trying trying to make both the "Tab Key" behave as the "Enter" key. keys. In otherwords, both the Tab and Enter should acheive the same objective.
I am using the code below but only... |
Forum: Visual Basic 4 / 5 / 6 Jan 9th, 2008 |
| Replies: 0 Views: 969 Gentlemen,
I have two badly designed tables - I didn't design these table, they where passed on to me. The tables are so cumbersome I have to create a new table, to be able to use their data.
... |
Forum: Visual Basic 4 / 5 / 6 Jan 2nd, 2008 |
| Replies: 4 Views: 2,077 Thanks guys.
your input was quite understand and implemented successfully.
Happy new year to you all.
tgif. |
Forum: Visual Basic 4 / 5 / 6 Dec 31st, 2007 |
| Replies: 4 Views: 2,077 Good morning everyone,
can anyone give me example of how to programatically copy an existing database to another location and rename the copied version - sort of a backup.
I have a database name... |
Forum: Visual Basic 4 / 5 / 6 Dec 28th, 2007 |
| Replies: 6 Views: 6,960 Thanks hkdani.
I've chosen an alternative way to acheive my objective and it worked perfectly:
here is what I did:
Private Sub CmdTableCopyUtility_Click()
Dim dbs As ADODB.Connection
Set dbs =... |
Forum: Visual Basic 4 / 5 / 6 Dec 28th, 2007 |
| Replies: 6 Views: 6,960 Hi "hkdani" and BWV,
thanks for your input. However, is there such a syntax like database.movefirst or did you mean recordset.movefirst?
Also, PTSPROD and PTSTEST databases have about 15... |
Forum: Visual Basic 4 / 5 / 6 Dec 28th, 2007 |
| Replies: 6 Views: 6,960 Ladies and gentlemen,
first I want to wish each and every one of you a wonderful and prosperous new year.
This is not really a problem. I am looking for an efficient and quick way to copy table... |
Forum: Computer Science Dec 17th, 2007 |
| Replies: 2 Views: 2,344 Hi Salem.
Thanks for your input to my question. I took the time to look at some litteratures on this subject and I got the answers I needed.
I wish everybody in the forum a merry christmas.
tgif. |
Forum: Computer Science Dec 14th, 2007 |
| Replies: 2 Views: 2,344 Hello everyone,
I'm not sure if this is the right place to ask this question. If not, could someone please direct me to the correct forum.
Here is my problem:
This is a CPU scheduling math... |
Forum: Visual Basic 4 / 5 / 6 Nov 16th, 2007 |
| Replies: 2 Views: 1,532 Sorry my previous post wasn't properly formated.
VB6 - Locate/Access Database in a Server directory
Hi everyone,
I am attempting to access a database that is located in a shared server/... |
Forum: Visual Basic 4 / 5 / 6 Nov 16th, 2007 |
| Replies: 2 Views: 1,532 Hi everyone,
I am attempting to access a database that is located in a shared server/ directory "K:\". Assuming I don't know where the database is located, how can I programatically tell vb to... |
Forum: Visual Basic 4 / 5 / 6 Oct 15th, 2007 |
| Replies: 0 Views: 917 VB6 - Generate a new/blank sheet each time I execute my program.
Hello everybody,
can someone show me the best way I can programatically generate a new blank spreadsheet for my report.
... |
Forum: Visual Basic 4 / 5 / 6 Sep 24th, 2007 |
| Replies: 0 Views: 2,632 Hi,
I need help setting a spreadsheet printing Range because when I print, after printing the area with data, it prints additional blank pages.
So how can I set my print range from "A1" to the... |
Forum: Visual Basic 4 / 5 / 6 Sep 21st, 2007 |
| Replies: 0 Views: 4,629 Hello everyone,
I am creating an excel spreadsheet using VB 6.0. After running my program, I may process either one or more records, but when I printView and initiate a print, it prints the page... |
Forum: Visual Basic 4 / 5 / 6 Sep 20th, 2007 |
| Replies: 0 Views: 1,335 VB6 - Spreadsheet generates blank pages with no records.
Good morning everyone.
I'm sure everybody is now familiar with my non-stop posting with my spreadsheet issues. I am populating a... |
Forum: Visual Basic 4 / 5 / 6 Sep 17th, 2007 |
| Replies: 0 Views: 1,228 Hi everybody.
I have a code that formats the "Comments" field row in my spreadsheet. The objective is to begin a new paragraph whenever it encounters a date field within the text data. Below is how... |
Forum: Visual Basic 4 / 5 / 6 Sep 13th, 2007 |
| Replies: 1 Views: 2,848 Problem solved.
The "Comments" field in my input table had null values, so I fixed it with this code:
If rsin![Comments] = "" Or IsNull(rsin![Comments]) Then
mystr = "Comments:" & Chr(10)... |
Forum: Visual Basic 4 / 5 / 6 Sep 12th, 2007 |
| Replies: 1 Views: 2,848 Hello everybody,
my program have been working and today I'm getting run time error 1004 - invalid number of arguments on this line of code: mystr = "Comments:" & "'" &... |
Forum: Visual Basic 4 / 5 / 6 Sep 11th, 2007 |
| Replies: 0 Views: 1,071 Hello everyone,
I have a spreadsheet that has data in a report format. The last column "Description", has long text value which are all bunched up inside one cell. My intension is to merge(expand)... |
Forum: Visual Basic 4 / 5 / 6 Sep 11th, 2007 |
| Replies: 9 Views: 3,316 Hi Binoj,
thank you for your insight and help. I achieved the objective by simply increasing the row variable by either 1 or two to skip a space or two before writing another line:
i = 6... |
Forum: Visual Basic 4 / 5 / 6 Sep 10th, 2007 |
| Replies: 9 Views: 3,316 I changed the code to:
xlWksht.Range(i + 1, 1).Insert(Shift:=xlDown)
Then it says: "Compile error: expected =" |
Forum: Visual Basic 4 / 5 / 6 Sep 10th, 2007 |
| Replies: 9 Views: 3,316 when I type in your code and try to compile, it beeps and hilights it in red.
It says: "Compile error". Expected: List separator or )", then it hilights the semicolon ":". |
Forum: Visual Basic 4 / 5 / 6 Sep 10th, 2007 |
| Replies: 9 Views: 3,316 Hi Binoj,
my module is not accepting the syntax: "xlWksht.Range(i + 1:1).Insert(Shift:=xlDown)". Hence, it's not working.
Thanks.
tgif |
Forum: Visual Basic 4 / 5 / 6 Sep 10th, 2007 |
| Replies: 9 Views: 3,316 Hi Members,
please can anyone show me how I can write a blank line after writing each records? My intension is to space out the data in the spreadsheet for readability. So far the code I'm using... |
Forum: Visual Basic 4 / 5 / 6 Sep 10th, 2007 |
| Replies: 2 Views: 1,554 Hi Veena,
Haven't heard from you in a while. I hope everything is okay with you.
Thanks for your input. objective accomplished.
Have a good day.
tgif. |
Forum: Visual Basic 4 / 5 / 6 Sep 7th, 2007 |
| Replies: 2 Views: 1,554 Good people,
Please can someone show me how I can add a permanent comment to the end (footer) of my spreadsheet. I want this comment to be visible when the spreadsheet is printed.
I know how to... |
Forum: Visual Basic 4 / 5 / 6 Sep 7th, 2007 |
| Replies: 0 Views: 1,411 Hello everyone,
I am having a display problem within my spreadsheet. The data in the spreadsheet row is hidden. Looking at the spreadsheet, you will see that the row that contains the "comments" is... |
Forum: Visual Basic 4 / 5 / 6 Aug 31st, 2007 |
| Replies: 1 Views: 3,764 Hi everyone,
I have a weired situation right here. My module was working perfectly all along. This morning I tried to run and got a run-time error: 1004 Application-defined or Object-defined error... |
Forum: Visual Basic 4 / 5 / 6 Aug 31st, 2007 |
| Replies: 3 Views: 1,490 Hi Veena.
Thanks for your input. I do apppreciate it very much.
Have a wonderful weekend.
tgif. |
Forum: Visual Basic 4 / 5 / 6 Aug 29th, 2007 |
| Replies: 3 Views: 1,490 Hello,
I tweaked it with the code below to accomplish the above objective, but is there a more efficient way of doing it?
xlWksht.Cells(ii + 1, 1).Value = "Comments:" & Chr(10) & "'" &... |