I've known about winworldpc for years. That's where I went to get dBase iii+ and 4. I installed 4 and still had problems with the memo field. That's okay. It would have been easier but I'll stick with what I have been doing. See below. My way is not as elegant but it gets the job done...
Phil,
I did try the Ctrl-PGDN key combo. I get sent back to the Dot Prompt. What I have been doing is using several Character fields of 74 characters. This at least gives the user some space to do free form text.
I guess I'll go track down dBase IV and give it a try.
Thanks,
Joe
I created MEMO.DBF with just one field called MEMO which is a memo field. I did an APPEND BLANK to create one record. In MEMO.PRG, I have the following:
CLEAR
USE MEMO
@ 0,0 say "Memo:
@ 0,6 get MEMO
read
close all
This works fine as it displays
Memo: MEMO
with the cursor blinking under the M...
Hey, everyone.
Tks for all the help and suggestions. I decided to give up on CHR$(31) and will use CHR$(17) on the left and CHR$(16) on the right.
As for using QB64, I have that and will compile my program there too. I'm using both so that everyone in the DOS/windoze world will be able to run...
mikron, I like the way you think. But... it didn't work.
Using flash drives, I booted up into Windows Millennium [Version 4.90.3000] which came from Rufus and MSDOS 6.22. The downward triangle still did not appear.
I attached the Help screen that shows it can be printed. This is frustrating...
I'm writing a program that will allow one to look up US/Canadian phone area codes. This will be done by either entering a state/province abbreviation or area code. That part is easy enough.
The problem I am having is with the ASCII 31 character. Since it is a non printing character I must use...
Phil,
It's working fine after the modifications I made. When I BROWse the correct data is where it belongs.
I knew that question would pop up. I only need one record because it is a survey of sorts. Only one person will be filling the questions at any given time. For each new person, I'll give...
Phil,
That worked except that it never would exit. See the attached screen shot.
That's okay. It got me thinking and I resolved the problem.
There is only one record so go top and skip is not needed.
I changed your code as follows. It works perfectly. It allows me to add more fields and exit...
Phil,
It is blank and is supposed to be blank. I am looking to add a new record to a new (never before used) DBF file and not edit old records. I'll worry about editing after I am able to input new records.
Joe
Let me start this again. I'll add some more information.
I am using dBase III+.
I have a DBF called BLACK.DBF. See the attached file.
I have already done the APPEND BLANK command to add a blank record.
One of the fields is called BWCHECK. This field is a character with a length of one.
I want...
The following is a repeat of my original request. I did not add a USE so as not to add unneeded information and I assumed that it was a given because I am having a problem with a FIELD and the value I have trying to put in it..
BWCHECK is a field name of type character with a length of one.
The...
Phil,
I am working in a database. At the top I did say "BWCHECK is a field name of type character with a length of one."
I used your Do Case example. I made the necessary changes and it worked. I also added
@ 2,2 say BWCHECK
so that a "T", a "b", a "B", or an "N" would be displayed on the...
Feherke,
Tks for the quick response. Your suggestion didn't work. I got the usual error.
Unrecognized phrase/keyword in command.
?
@ 2,2 GET BWCHECK valid BWCHECK = "T" .or. BWCHECK = "b" .or. BWCHECK = "B" .or.
BWCHECK = "N"
called from - C:BLACKS.PRG
Cancel, Ignore, or...
BWCHECK is a field name of type character with a length of one.
The only value I want entered is T, b, B, or N.
This is the code I've written. The problem is that BWCHECK will accept any value.
It then exits and goes onto the next field.
Help!
Tks,
Joe
do while ((BWCHECK <> "T") .or. (BWCHECK...
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.